package RW;

public class Rw2 {
	public static void main(String[] args) { 
		 String names = "TOM:89|JERRY:90|TONY:78"; 
		 String s4 = names.replace(":","→"); 
		 String[] ns = s4.split("\\|"); 
		 for(String s : ns){ 
		  System.out.print(s+" "); 
		 } 
		 
		} 
}
